﻿@model WmWebSystem.Models.ChildProject

@{
    ViewBag.Title = "项目附件编辑";
    Layout = "~/Views/Shared/_Layout_manage.cshtml";
}

<div class="contentcontainer">
    <div class="headings">
        <h2>项目附件编辑</h2>
    </div>
    <div class="contentbox">
        @using (Html.BeginForm("DoEdit", "Item", FormMethod.Post, new { enctype = "multipart/form-data" }))
         {
            @Html.ValidationSummary(true)
            @Html.HiddenFor(model => model.ChildProjectId)
            @Html.HiddenFor(model => model.ProjectNo)
            <table>
               <tbody>
                  <tr>
                    <th>附件名称</th>
                    <td>
                        @Html.TextBoxFor(model => model.ChildName, new { @class = "box" })
                    </td>
                  </tr>
                  <tr>
                    <th>附件简介</th>
                    <td>
                        @Html.TextAreaFor(model => model.Content)
                    </td>
                  </tr>
                  <tr>
                    <th></th>
                    <td>
                        <input type="button" title="取消" value="<< 返回" id="GoBackList" onclick="history.go(-1)" />
                        <input type="submit" value="保存 >>" class="btn" />
                    </td>
                  </tr>
               </tbody>
            </table>
         }
        <div style="clear: both;"></div>
    </div>
</div>

<script type="text/javascript">
    CKEDITOR.replace('Content');
</script>